package com.sss.mapper;

import com.sss.model.Doctor;
import com.sss.model.DoctorVO;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * 全世界我最爱朴彩英！
 *
 * @Author sss
 * @Create 2023/12/1 20:36
 * @desc
 */
public interface DoctorMapper {

    Doctor findById(int id);

    List<Doctor> findAll();

    Doctor partFind(@Param("name") String name, @Param("hip") int hip);

    Doctor ByMapFind(HashMap<String, Object> map);

    int updateDoc(Doctor doctor);

    int register(Doctor doctor);

    int deleteDoc(int id);


    DoctorVO DocWithHosById(int id);
}
